<html><head>
<meta charset="utf-8">
<title><#$shopinfo[0]['shopname']#></title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<link rel="apple-touch-icon-precomposed" href="">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link href="<#$Theme['T']['css']#>/model1/common.css" rel="stylesheet">

</head>

<body>

<section id="wrapper" class="wrapper">
   
   <!-- 图片轮播 -->
   <section class="slide-photos">
      <ul class="slides">
       <notempty name="ad">
	     		<volist name="ad" id="vo">
	     		<div  class="swiper-slide">
	     		<eq name="vo['mode']" value="1">
	     			 <li style="display: list-item; background-image: url(<#$vo.ad_thumb#>);"><a href="<#:U('userauth/showad',array('id'=>$vo['id']))#>">
		 <img src="<#$vo.ad_thumb#>">
		 </a></li>
	     		<else/>
	     			<li style="display: list-item; background-image: url(<#$vo.ad_thumb#>);">
		 <img src="<#$vo.ad_thumb#>"></li>
	     		</eq>
	     		</div>
	     		  </volist>   		
	     		<else/>
	     		<li style="display: list-item; background-image: url(<#$Theme['P']['root']#>/images/ad/noad01.jpg);"></li>
	     		<li style="display: list-item; background-image: url(<#$Theme['P']['root']#>/images/ad/noad02.jpg);"></li>
				
			</notempty>	
      
      
      
      
	 </ul> <input type="hidden" id="go_auth" value="<#:U('userauth/noAuth')#>"/>  
   </section> 

   <!-- 主体 -->
   <section class="index-wrap">
     
      
		<div class="btn-wrap">
			<a id="foot_daojisi" href="#" class="btn-phone">还有14秒</a>	
		  </div>
   </section> 
   
   <!-- 底部 -->
   <div class="foot-space"></div>
   <footer class="index-foot">起讯无线版权所有</footer>
   
   


<input type="hidden" id="ad_show_time" value="<#$shopinfo[0]['ad_show_time']#>"/> 
<script src="<#$Theme['P']['root']#>/matrix/js/jquery.min.js" type="text/javascript"></script>
<script src="<#$Theme['P']['js']#>/model1/jquery.flexslider.min.js" type="text/javascript"></script>
<script type="text/javascript">   
//图片轮播
$(window).load(function(){
     $('.slide-photos').flexslider({
        animation: "slide",
		slideshowSpeed:5000,
		animationSpeed:800,
		pauseOnHover:false,
		directionNav: false,
		start: function(slider){
           $('.index-head').removeClass('loading');
        }  
     });
	 
});
</script>


<!-- ///////////////////////新开页面只要下面的代码就行 要放在Jquery下面.......//////////////////// -->

<!--如果有倒计时-->
<script language="javascript">	
function rptk_oneclick(){
	showPop();

}

var speed = 1000; // 速度 一般不用修改		
var djwait = document.getElementById("ad_show_time").value; // 停留时间 单位：秒				
function updateinfo(){					
	if(djwait == 0){
		var url=document.getElementById("go_auth").value;
		window.location.href=url;
		//$("#foot_daojisi").html("点击免费上网");	
		//$("#foot_daojisi").attr("href",'javascript:rptk_oneclick()').removeClass("btn-phone").addClass("btn-go");
	}else{
		$("#foot_daojisi").html ( "还有"+djwait+"秒");
		djwait--;
		window.setTimeout("updateinfo()",speed);
	}
}
updateinfo();
</script><!-- //////////////////新开页面只要上面的代码 就行..////////////////////     -->



</section>

   <div id="bodyMask" class="body-mask" onclick="hidePop()"></div>   
   <script>
	  var mask=document.getElementById("bodyMask")
	  var popbox=document.getElementById("popWrap")
	  var popMain=document.getElementById("popMain")
	  //触发弹窗
	  function showPop(){
		  mask.style.display="block"
		  popbox.style.display="block"
		  var boxHeight=popMain.clientHeight
		  var wHeight=window.innerHeight
		  if(wHeight<boxHeight){
			  popbox.style.position="absolute"
		  }
	  }
	  //关闭弹窗
	  function hidePop(){
		  mask.style.display="none";
		  popbox.style.display="none";
		  popbox.style.position="fixed";
		  $("#popMain").show();
			$("#popMainCode").hide();
			$("#sendCode").show();//2014-7-21  手机认证修改
			$("#loginform").hide();//2014-7-21  手机认证修改
      }	
   </script>
   <!--// 弹窗 --> 
</section>

</body></html>